From: Georges Basile Stavracas Neto Date: Thu, 9 Jun 2022 18:32:26 +0000 (-0300) Subject: appDisplay: Set 3x3 grid mode for folders X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~72 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=113130552f1d3104957a2b8441b3401ea1f6b8f4;p=gnome-shell.git appDisplay: Set 3x3 grid mode for folders Folders have a fixed 3x3 grid, given that folders themselves have a fixed size. Make the code correspond to this invariant. Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 0eebbe976..23bff90c7 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1974,6 +1974,13 @@ class FolderGrid extends IconGrid.IconGrid { page_halign: Clutter.ActorAlign.CENTER, page_valign: Clutter.ActorAlign.CENTER, }); + + this.setGridModes([ + { + rows: 3, + columns: 3, + }, + ]); } });